package com.enation.app.shop.front.policyInsurance.service;

import com.enation.app.shop.front.api.inpolicy.entity.InPolicy;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 养殖端
 */
@Service
public interface InsuranceFarmeOrdMapper {

    /**
     * 已提交保单
     * @return
     */
     List<InPolicy> findInPolicyInfo();

    /**
     * 待支付保单
     * @return
     */
     List<InPolicy> findUnPayInPolicyInfo();

    /**
     * 已承保|保险订单
     * @return
     */
     List<InPolicy> findPassInPolicyInfo();

    /**
     * 已拒绝 保险订单
     * @return
     */
     List<InPolicy> findNoPassInPolicyInfo();
    /**
     * 查看养殖场信息
     * @param inPolicy_id
     * @return
     */
     InPolicy findFarmInfoByInPolicyId(int inPolicy_id);

    /**
     * 获取保单详情
     * @return
     */
     InPolicy getInPolicyInfo(int inPolicy_id);
}
